package pers.jassor.cfgbeans;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.netflix.loadbalancer.IRule;

import pers.jassor_why.MyRibbonRule;


@Configuration
public class ConfigBean {

	// 自定义负载均衡规则
	@Bean
	public IRule myRule() {
		return new MyRibbonRule();
	}
	
}
